<div class="form-group">
    <label class="col-sm-2 control-label">{{ text }}</label>
    <div class="col-sm-10">
        <select id="{{ name }}" name="{{ name }}" class="form-control select2" multiple="multiple">
            {% for rs in list %}
                <option value="{{ rs.key|raw }}"{% if rs.key in default %} selected="selected"{% endif %}>{{ rs.value }}</option>
            {% endfor %}
        </select>
    </div>
</div>
